
package Classes;

/**
 *
 * @author Faith
 */

import java.io.*;

public class Violation implements Serializable {
    
    String  offID, date, offense, actntken, remarks, empID;
    
    public Violation(String a, String b, String c, String d, String e, String f) {
        offID = a;
        date = b;
        offense = c;
        actntken = d;
        remarks = e;
        empID = f;
     
    }      
    
    public Violation(String b, String c, String d, String e, String f) {
       
        date = b;
        offense = c;
        actntken = d;
        remarks = e;
        empID = f;
     
    } 
    
    // GET METHOD
    public String getoffID(){
        return offID;
    }
    
    public String getdate(){
        return date; 
    }
     
    public String getoffense(){
        return offense;
    }
     
    public String getactntken(){
        return actntken;
    }
     
    public String getremarks(){
        return  remarks;
    }
    
    public String getempID(){
        return  empID;
    }
    
    
    //SET METHOD
    public void setoofID (String a){
        offID = a;
    }
    
    public void setdate (String a){
       date = a;
    }
    
    public void setoffense (String a){
       offense = a;
    }
    
    public void setactntken (String a){
       actntken = a;
    }
    
    public void setremarks (String a){
       remarks = a;
    }
    
    public void setempID (String a){
       empID = a;
    }
}
